#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>
#include <stdint.h>
#include <stddef.h>

uint8_t content[] = {
0x30,
};

#define LOGI(fmt, ...) printf("[I][%s][%d]" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__)
#define LOGD(fmt, ...) printf("[D][%s][%d]" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__)
#define LOGE(fmt, ...) printf("[E][%s][%d]" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__)

int main() {
    FILE *fp = fopen("out.bin", "wb");
    if (fp == NULL) {
        LOGE("open file failed");
        return -1;
    }
    fwrite(content, 1, sizeof(content), fp);
    fclose(fp);
    return 0;
}
